<template>
<div>
    <div class="radio_list" v-for="items in dtlist" :key="items.picUrl">
        <a>
            <div class="list_pic"><img :src="items.picUrl"></div>
            <div class="list_info">{{items.Ftitle}}</div>
        </a>
    </div>
</div>
</template>

<script>
    import axios from "axios"
    export default{
        data(){
            return{
                dtlist:""
            }
        },
        mounted(){//使用箭头函数
            axios.get('https://www.easy-mock.com/mock/5aab25e6e80e0d51a5160fb3/music/data').then((response)=>{
                // this.sli = JSON.parse(response.data.data.slider);
                this.dtlist = response.data.data.radioList;
                console.log(response);
                // console.log(this.dtlist);
            }).catch(function (error) {
                console.log(error);
            });
        }
    }
</script>

<style lang="scss" scoped>
//     
</style>
